<?php
include($folder.'/layouts/code-behind/backend.php');
function blc_kepekAFooldalon_select($from, $itemsPerPage)
{
	return query('SELECT id AS id,picture_id AS pictureID FROM mainpicture ORDER BY id LIMIT :from,:itemsPerPage',
	array('from'=>$from,'itemsPerPage'=>$itemsPerPage));
}
function blc_kepekAFooldalon_select_count()
{
	return queryScalar('SELECT COUNT(1) FROM mainpicture', null);
}
?>